//
//  UITableViewAdditions.h
//  Tint
//
//  Created by Kevin Wu on 2/22/12.
//  Copyright (c) 2012 Telligenty. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>


@interface UITableView (Tint)

/*
 * Creating
 */
+ (UITableView *)tableViewWithStyle:(UITableViewStyle)style;
+ (UITableView *)tableViewWithFrame:(CGRect)frame style:(UITableViewStyle)style;

/*
 * Retriving cell
 */
- (UITableViewCell *)dequeueReusableCellWithClass:(Class)cls;

/*
 * Querying
 */
- (UITableViewCell *)firstRowInSection:(NSUInteger)section;
- (UITableViewCell *)lastRowInSection:(NSUInteger)section;

/*
 * Refreshing
 */
- (void)refreshSectionsWithRowFadeAnimation;
- (void)refreshSectionWithRowFadeAnimation:(NSUInteger)section;

@end
